pkgname=arch-repodiff-svn
pkgver=302
pkgrel=1
pkgdesc="makes html'ed diff between i686 and x86_64 repositories"
arch=('i686' 'x86_64')
url="http://code.google.com/p/archlinux-stuff/"
depends=(bash perl diff2html)
license=('GPL')
source=()
md5sums=()

_svntrunk=http://archlinux-stuff.googlecode.com/svn/trunk/arch-repodiff/
_svnmod=arch-repodiff

build() {
  cd $startdir/src

  svn checkout $_svntrunk --config-dir ./ $_svnmod

  msg "SVN checkout done or server timeout"
  msg "Starting make..."

  cp -r $_svnmod $_svnmod-build
  cd $_svnmod-build

  install -D -m 0755 abs-diff.pl $startdir/pkg/usr/bin/arch-repodiff-diff && \
  install -D -m 0755 my-abs.sh $startdir/pkg/usr/bin/arch-repodiff-fetch && \
  install -D -m 0755 pkg.sh $startdir/pkg/usr/bin/arch-repodiff-pkginfo && \
  install -D -m 0644 main.css $startdir/pkg/etc/arch-repodiff/example.css
}
